package com.lagou.config.service.impl;

import com.lagou.config.dao.ResumeDao;
import com.lagou.config.pojo.Resume;
import com.lagou.config.service.ResumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ResumeServiceImpl implements ResumeService {

    @Autowired
    private ResumeDao resumeDao;

    @Override
    public List<Resume> getResumes() throws Exception {
        return resumeDao.findAll();
    }
}
